Learn Cocoa on the Mac (Learn Series) by Mark Dave & LaMarche Jeff & Nutting Jack

Learn Cocoa on the Mac (Learn Series) by Mark Dave & LaMarche Jeff & Nutting Jack

Author:Mark, Dave & LaMarche, Jeff & Nutting, Jack [Mark, Dave]
Language: eng
Format: mobi, epub
Publisher: Apress
Published: 2010-02-16T16:00:00+00:00


Wrapping Up Relationships

In this chapter, you’ve expanded the old data model, growing it from a single entity on its own to a full complement of entities, interrelated with relationships. You’ve also seen how each of those relationships can be expressed in a GUI (for example, using a popup list to choose the remote end of a to-one relationship, and a table view to show all the contents of a to-many relationship), configured, and managed entirely with Cocoa Bindings. Not to beat a dead horse about this “visual programming” business, but it bears repeating that everything in this chapter was done without a single line of code on our part.

NOTE: Our use of the term “visual programming” has nothing to do with Microsoft’s use of the word “visual” in its development tools. The idea behind visual programming is to allow a program, or some portion of it, to be constructed using graphical components that don’t require the sort of textual, procedural programming that’s traditionally been used for writing software. Cocoa embraces visual programming to some extent, letting you put together application prototypes or even entire applications using just the Xcode data modeler and Interface Builder. However, it’s not intended to comprise a complete visual programming system, so for every Cocoa app you build, you will out of necessity have to break down and write some code!



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.